
.register-domain-step__search {
	padding-bottom: 12px;

	&.register-domain-step__search-domain-step-test:not( .is-sticky ) {
		padding-bottom: 24px;

		@include breakpoint-deprecated( '>660px' ) {
			padding-top: 18px;
		}
	}

	.register-domain-step__search-card {
		padding: 0;
		display: flex;
		align-items: center;
	}

	.search {
		margin-bottom: 0;

		&.is-refocused {
			animation: shake 0.5s both;
			box-shadow: 0 0 0 1px var( --color-neutral-light ), 0 2px 4px var( --color-neutral-10 );
		}

		// Add some padding to account for the filter button.
		body.is-section-signup & {
			padding-right: 72px;
		}
	}

	&.disabled {
		border-bottom: none; // so that bottom border is not there during google app dialog animation
		opacity: 0.7;
		transition: opacity, 0.3s, ease-in-out;
	}

	.search-card {
		margin-bottom: 0;
	}
}

.register-domain-step > .notice.register-domain-step__notice {
	margin-bottom: 12px;
}

@keyframes shake {
	0%,
	100% {
		transform: translate3d( 0, 0, 0 );
	}

	10%,
	60% {
		transform: translate3d( -5px, 0, 0 );
	}

	30% {
		transform: translate3d( 5px, 0, 0 );
	}
}

.register-domain-step__filter-reset-notice {
	color: var( --color-primary );
	font-weight: 600;
	width: 100%;
	position: relative;
	margin-bottom: 0;

	border: 0;
	border-radius: 0;

	// from components/card/style.scss
	box-shadow: 0 0 0 1px rgba( var( --color-neutral-10-rgb ), 0.5 ), 0 1px 2px var( --color-neutral-0 );

	// from components/domains/domain-suggestion/style
	// NOTE: easeOutExpo easing function from http://easings.net/#easeOutExpo
	transition: box-shadow 0.25s cubic-bezier( 0.19, 1, 0.22, 1 );

	&:hover {
		color: var( --color-primary );

		// from components/domains/domain-suggestion/style
		box-shadow: 0 0 0 1px var( --color-neutral-light );
	}
}

.register-domain-step__next-page {
	display: flex;
	justify-content: center;
}

.register-domain-step {
	.button.is-active {
		background: var( --color-neutral-0 );
	}
}
